import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Restaurant } from '../../entities/restaurant.entity';
import { DrawHistory } from '../../entities/draw-history.entity';
import { RestaurantMark } from '../../entities/restaurant-mark.entity';
import { DrawController } from './draw.controller';
import { DrawService } from './draw.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([Restaurant, DrawHistory, RestaurantMark]),
  ],
  controllers: [DrawController],
  providers: [DrawService],
  exports: [DrawService],
})
export class DrawModule {}
